package cn.wolfcode.domain;
import com.alibaba.fastjson.JSON;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@ToString
@Setter
@Getter
public class Department {
    private Long id;

    private String name;

    private String sn;

    public String toJson() {
        return JSON.toJSONString(this);
    }
}